# TODO 身份运算符

#比较值大小
a = 15
b = 15
# print(a == b)
#比较身份
# print(id(a) ==id(b))
# print(a is b)
# print(a is not b)


#   字符串比较

#比较值大小
str1 = '我他妈真帅'
str2 = '我他妈真帅'
# print(str1 == str2)
#比较身份大小
# print(id(str1) == id(str2))
# print(str1 is str2)
# print(str1 is not str2)

#列表比较
m = [1,2,3]
n = [1,2,3]
#比较值大小
# print(m == n)
print(id(m) ==  id(n))
print (m is n)
print (m is not n)
